/**
 * 
 */
package com.pcbly.web.business.chart;

import java.util.List;

import com.pcbly.web.bean.chart.ChartDataValueBean;
import com.pcbly.web.business.BaseServiceImp;
import com.pcbly.web.persistence.chart.ChartDataValueDao;

/**
 * @author Administrator
 * @date 2009-7-13
 * @copyright lightsoft
 */
public class ChartDataValueServiceImp extends
		BaseServiceImp<ChartDataValueBean> implements ChartDataValueService {

	public ChartDataValueServiceImp(){
		super();
	}
	protected ChartDataValueDao chartDataValueDao;
	
	public void setChartDataValueDao(ChartDataValueDao chartDataValueDao) {
		this.chartDataValueDao = chartDataValueDao;
	}

	/**
	 * @param args
	 */
	public static void main(String[] args) {
		// TODO Auto-generated method stub

	}

	@Override
	public int deleteChartDataValueBean(String id) throws Exception {
		// TODO Auto-generated method stub
		return chartDataValueDao.deleteChartDataValueBean(id);
	}

	@Override
	public int insertChartDataValueBean(ChartDataValueBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartDataValueDao.insertChartDataValueBean(bean);
	}

	@Override
	public ChartDataValueBean queryChartDataValueBeanById(String id)
			throws Exception {
		// TODO Auto-generated method stub
		return chartDataValueDao.queryChartDataValueBeanById(id);
	}

	@Override
	public List<ChartDataValueBean> queryList() throws Exception {
		// TODO Auto-generated method stub
		return chartDataValueDao.queryList();
	}

	@Override
	public int updateChartDataValueBean(ChartDataValueBean bean)
			throws Exception {
		// TODO Auto-generated method stub
		return chartDataValueDao.updateChartDataValueBean(bean);
	}

}
